|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
4 inch character height 7-segment led information board user?s guide ? 2004-2008 sure electronics inc. DE-DP004-ver1.0
4 inch character height 7-segment led information board user ? s guide ? 2004- 2008 s u re e lectronic s i nc. t a ble of cont ents chapter1.overview an d main feature .............................................................................. 1 1-1. o v er v i e w .................................................................................................................... 1 1 - 2 . p a r t l a y o u t .................................................................................................................. 2 1-3. main featur e ............................................................................................................. 3 chapter2.hardw a re de t a il .................................................................................................... 4 2- 1. schematic ................................................................................................................ 4 2- 2. ph y s ical d imens ion ............................................................................................... 5 2- 3. circuit diagr am ....................................................................................................... 5 2- 4. electric characters ................................................................................................. 6 2- 5. port de finiti on ......................................................................................................... 7 2- 5 - 1. 7-se gment l e d ............................................................................................ 7 2-5 - 2. sh if t regis t er dat a driv e ........................................................................... 7 2- 5 - 3. dat a port s d efinition .................................................................................. 8 2- 5 - 4. auxiliar y p o w e r port ................................................................................... 9 2- 5 - 5. dat a bu f f er ................................................................................................... 9 ch ap ter3.sample codes ..................................................................................................... 1 1 3- 1. led segm e nt driv e dem o board? s schem atic ............................................... 1 1 3- 2. ho w to con nect lo ad .......................................................................................... 12 3- 3. ho w to displa y dat a w i th pic10f2 00 a nd picc8.0 5 env i ronment ................ 12 chapter4.cont act us ............................................................................................................ 15 DE-DP004 -v er1. 0-p age i 4 inch character height 7-segment led information board user ? s guide t a ble of cont ents notes: product v e r sion v er 1.0 document v ersion v er 1.0 DE-DP004 -v er1. 0-p age ii ? 2004- 2008 s u re e lectronic s i nc. 4 inch character height 7-segment led information board user ? s guide ? 2004- 2008 s u re e lectronic s i nc. chapter1.overvi ew and main f e ature 4 digit s 7seg ment p anel s are man ufact ured by sure electroni cs. this se rie s inclu de s 5 dif f erent si ze p anel s, su ch as 1.5 inche s , 1.8 inche s , 2.3 inche s , 4 inche s , an d 7 inche s (ch ar ac t e r h ei ght ) . all t ho s e p an el s ar e driven by spi like inte rfa c e a nd all work i n full st ati c mode. they a r e e asy to be interfaced to any mi cro c on trollers. they coul d be widely used in p an el meters, big clo c ks an d any other in formation di splay usa ge. sure elect r on ics p r ovide s serie s of su ch in formatio n b oard s which are supp osed to reduce your development time an d make the m st and ard. in this se rie s , most boa rd s are 4 digit s and st atic, if custome r ne ed s any spe c ial digit s a nd sp ecial size ones , you co uld cont act u s with the cont act informatio n at the end of th is docum ent. the 4 inch characte r height one is 2digit/boa rd. the 7in c h ch ara c ter h eight one is 1di git/board. this do cu me nt is use d to descri be ho w to use 4 inch characte r hei ght p an els. 1- 1. o vervi e w DE-DP004 -v er1. 0-p age 1 overview and main feature 1-2. part la y out figure t op part layout figure 1 bottom part layo ut ? 2004-20 08 sure elect ronics inc. DE-DP004 -v er1. 0-p age 2 overview and main feature ? 2004- 2008 s u re e lectronic s i nc. DE-DP004 -v er1. 0-p age 3 1-3. main feature 1-3-1. 2 digit s 7-seg ment 4 inche s leds are in st alle d on this p anel, those segm ent s are comm on anode type. 1-3-2. 2*10pi n interf ace fo r po we r se riali z ing a nd dat a tran sferrin g, dat a i nput s from j1 and flows out from j2. 1-3-3. a 74hc00 na nd chi p is u s e d to buf fer cl k_in and di mm_in control sign al. 1-3-4. led d r iver chip s are com posed of 2 p cs of 74 hc59 5, 2pcs mmb t9014 and 2 pcs of ul n20 03, they are seriali z ed to each ot he r , the first chi p re ceive s dat a fro m microcontroll er or the board ahead, the final chip shif t s dat a to next board s . dat a should be clo c ked in from clk_in a nd da t a _in in j1, and dimm_in pin should be pull ed down to enabl e displ a y . uln2 003 i s used to driv e the catho de of those led segm ent s. 4 inch character height 7-segment led information board user ? s guide ? 2004 -2008 s ure elect ronics inc. DE-DP004 -v er1. 0-p age 4 2-1. sch emati c figur e 2 note: be cau s e of the led' s voltage d r o p differen c e, the re si stan ce may vary from the value chapter2.hardware detail d a t a _ o u t u 4 u l n 2 0 0 3 9 4 5 1 4 1 1 3 6 3 2 8 7 1 1 1 2 1 0 1 5 1 6 c o m 4 b 5 b 3 c 1 b 4 c 6 b 3 b 2 b e 7 b 6 c 5 c 7 c 2 c 1 c a 3 b 5 u 5 b 7 4 hc0 0 4 5 6 1 4 7 u 5 d 7 4 hc0 0 1 2 1 3 1 1 1 4 7 b 2 + 5 v + 1 2 v r 7 331 d i m m _ou t a 7 u 5 a 7 4 hc0 0 1 2 3 1 4 7 u 7 u l n 2 0 0 3 9 4 5 1 4 1 1 3 6 3 2 8 7 1 1 1 2 1 0 1 5 1 6 c o m 4 b 5 b 3 c 1 b 4 c 6 b 3 b 2 b e 7 b 6 c 5 c 7 c 2 c 1 c a 4 c l k _ o u t + 5 v a 6 c 7 1 0 4 1 2 r 5 331 r 4 331 a 4 u 5 c 7 4 hc0 0 9 1 0 8 1 4 7 j 2 c o n 10b 1 2 3 4 5 6 7 8 9 1 0 r 2 331 + 1 2 v dim m _ o u t a 1 + 1 2 v a 5 c l k _ o u t a 2 b 3 c 4 104 1 2 d i m m _ou t r 8 152 c 8 1 0 4 1 2 a 5 c 3 1 0 4 1 2 b 7 d 1 1 n 5 819 1 2 r 9 1 0 2 u 8 7 8 m 0 5 / t o 1 4 3 v i n g n d v o u t c 1 0 1 0 4 1 2 r 6 331 b 1 + c 5 1 0 v / 1 0 0 u f 1 2 a 2 j 4 c o n 2 1 2 b 2 d a t a _ i n r 1 8 1 0 2 j 1 c o n 1 0 b 1 2 3 4 5 6 7 8 9 1 0 d i m m _ i n + 1 2 v b 0 u 6 7 4 hc5 9 5 7 8 9 1 4 3 4 5 6 1 0 1 1 1 2 1 3 1 2 1 5 1 6 q h g n d q h ' s i q d q e q f q g s c l r s c k rck g q b q c q a v c c b 5 + c 1 2 5 v , 4 7 0uf 1 2 + 1 2 v b 6 r 1 5 3 3 1 c 6 1 0 4 1 2 + 12v a 6 + 12v r 1 7 1 5 2 r 1 1 3 3 1 a 7 a 3 + 1 2 v u 3 7 4 hc5 9 5 7 8 9 1 4 3 4 5 6 1 0 1 1 1 2 1 3 1 2 1 5 1 6 q h g n d q h ' s i q d q e q f q g s c l r s c k r c k g q b q c q a v c c c 9 104 1 2 d i mm_ i n j 3 c o n 2 1 2 + 1 2 v b 1 + 5 v d a t a _ i n r 1 0 3 3 1 b 4 b 7 r 1 2 3 3 1 d a t a _ o u t + c 2 2 5 v , 4 70u f 1 2 a 1 + 12v b 3 a 0 b 0 c l k _ i n r 1 4 3 3 1 + 5 v c l k _ o u t r 3 331 + 5 v a 0 b 4 r 1 3 3 3 1 r 1 331 r 1 6 3 3 1 q 2 9 0 1 4 2 1 3 c l k _ i n q 1 9 0 1 4 2 1 3 8 u 1 d 4 001 1 9 1 0 5 1 7 2 3 4 6 8 f g d p c o m 1 a e d c b c o m 2 b 6 8 u 2 d 400 1 1 9 1 0 5 1 7 2 3 4 6 8 f g d p c o m 1 a e d c b c o m 2 hard w a re det a il marked in the sch ematic. 2-2. ph y sical di mension figure 3 2-3. circuit dia g ram ? 2004- 2008 s u re e lectronic s i nc. DE-DP004 -v er1. 0-p age 5 hard w a re det a il figure 4 figure 5 2-4. electric ch aracters powe r sup pl y : dc12v (l ow9v -hi gh13v ), 0.16a/pcs (maximum ), for ea ch addi tional p an el, adding anothe r 0.16 a, if volt age is less tha n 9 v , the brightn ess wo uld not be enou gh. for ove r 2 p a nels, u s e r s m ust add auxiliary po wer o n the auxiliary power , o r the 10pin comm uni cati on port could not carry so much cu rre nt. maximum clo ck freq: 1mhz, 4 boa rds seriali z ed 100khz, 20 b oard s seri alized if the commu nicatio n sp ee d is too high, it may cause comm uni cati on pro blem s . sugge sted refresh rate: less than 10h z if di mm is not use d. less than 50 hz if dimm is used. drive cu rrent /segme nt: 10ma +3ma/-2 ma, this valu e may be change d based on the prod uctio n ba tch, and the d ot use s dif f erent curre nt. drive method: fully st atic. con ne c tion method: 74 hc59 5 in se rie s , spi like interface. maximum ca scade l evel: 20 boa rd s in seri es, clock l ess than 10 0 khz. ? 2004-200 8 sure elect ronics inc. DE-DP004 -v er1. 0-p age 6 hard w a re det a il interface v ol t age l evel: 4-5.5v , st an dard cm os level. if yo u nee d ttl/ c mo s c om p at i ble i nt er f ac e i n bat c h, plea s e c on t ac t u s b ut t he qua nt ity s h ould b e no less than 100p cs. 2-5. port defini tion 2-5 - 1. 7-segmen t led ? 2004- 2008 s u re e lectronic s i nc. DE-DP004 -v er1. 0-p age 7 figure 6 2 digit s of 4 inch es, common anode, hig h brightne ss red 7-segment leds are inst alle d on this boa rd. th ey are marke d as u1-2. 2-5 - 2. sh if t regis t er dat a driv e figure 7 a 6 b 6 b 5 8 u 1 d 4 00 11 9 10 5 1 7 2 3 4 6 8 f g d p c o m 1 a e d c b c o m 2 a 2 a 3 a 0 b 0 8 u 2 d 4 00 11 9 10 5 1 7 2 3 4 6 8 f g d p c o m 1 a e d c b c o m 2 b 7 a 7 b 2 + 12v a 1 b 3 a 5 a 4 b 4 b 1 u 6 7 4h c 59 5 7 8 9 14 3 4 5 6 10 11 12 13 1 2 1 5 16 q h g n d q h ' s i q d q e q f q g s c lr s c k rck g q b q c q a v c c r 1 4 33 1 b 6 b 5 q 2 9 01 4 2 1 3 a 2 r 6 33 1 a 3 r 1 1 33 1 r 1 33 1 b 4 r 2 33 1 r 7 33 1 a 7 r 1 6 33 1 r 1 2 33 1 a 0 r 1 5 33 1 d i m m _o u t a 1 b 1 r 3 33 1 r 1 0 33 1 + 5 v u 3 74h c 59 5 7 8 9 14 3 4 5 6 10 11 12 13 1 2 1 5 16 q h g n d q h ' s i q d q e q f q g s c lr s c k rck g q b q c q a v c c b 2 d a t a _i n d a t a _ o u t r 18 1 02 u 7 u ln 2 00 3 9 4 5 1 4 1 1 3 6 3 2 8 7 1 1 1 2 1 0 1 5 1 6 c o m 4 b 5 b 3 c 1 b 4 c 6 b 3 b 2 b e 7 b 6 c 5 c 7 c 2 c 1 c q 1 9 01 4 2 1 3 r 9 102 r 1 3 33 1 r 8 15 2 u 4 u ln 2 00 3 9 4 5 14 1 13 6 3 2 8 7 11 10 12 15 16 c o m 4 b 5 b 3 c 1 b 4 c 6 b 3 b 2 b e 7 b 6 c 5 c 7 c 2 c 1 c c lk _o u t r 5 33 1 b 7 b 0 r 4 33 1 + 5 v b 3 r 1 7 15 2 a 6 a 4 a 5 hard w a re det a il 74hc5 95 is used a s shif t registe r in this board. they are u3 an d u6, the p arallel output of those 7 4hc5 95 is conne ct ed to the base of ul n200 3, and the col lector of tho s e ul n2003 is co nne cted to the led segment s. cl k_out i s dri v en by a buf fered o utput from clk_i n with 74hc00 . da t a _in is dat a input pin of the first 74hc5 95 , then all 74 hc595 of ca scade d bo ard s will be seri alized. all those pin s receive o nly cmos si gnal s. dimm_in sign al is for brightn ess co ntrol u s a ge, you co uld add sim ple o n/o f f or pwm si gnal o n this signal, when t his signal is set to low , all segm ent s will be lighted on if valid dat a i s shif ted out from the 74 hc59 5 chi p. if you cha nge t he dat a in the 74hc59 5 dri v en chip, you shoul d set this pin to low in order that t he hash signal will not af fe ct the display . of course if you want to adju s t the brightne ss of those le ds, pwm sig nal co uld be applie d on the dimm_in pin. it is buf fered with a 74hc00, and dimm_in sign al will drive this board and next. once you cloc k in corre c t dat a throug h these 2 pin s , and en sure that pwm sig nal or on/o ff signal is applie d co rre ctly on the dimm_in pin, the boa rd will begin to di spl ay . corre spondence be t w een char acter code s and charac ter pa tterns: charac ter patterns 0 1 2 3 4 5 6 7 8 9 char a cter codes 0xfc 0x6 0 0xd a 0xf2 0x6 6 0xb 6 0xb e 0xe 0 0x fe 0x f6 charac ter patterns a b c d e f g h i j char a cter codes 0xe e 0x3 e 0x1 a 0x7 a 0x9 e 0x8 e 0xf6 0x6 e 0x6 0 0x7 0 charac ter patterns l n o p q r s t u y char a cter codes 0x1 c 0x2 a 0x3 a 0xc e 0xe 6 0x0 a 0xb 6 0xe 0 0x3 8 0x7 6 2-5 - 3. dat a port s defini tion ? 2004-200 8 sure elect ronics inc. DE-DP004 -v er1. 0-p age 8 figure 8 2 idc socket s are located on the board. they are dat a input and output interfa c e, marked as j1 an d j2. the definition is sho w n in figure 1 1. when the board is working se p arately , con ne c t j1 to the microcontrolle r boa rd and leav e j2 op en. if lot s of sam e board s a r e in seri es, con ne c t next boa rd? s input to p r e v ious on e? s o utput. then y ou could con nect u p to c l k _i n + 1 2v + 12 v + 1 2v j 2 c o n 10 b 1 2 3 4 5 6 7 8 9 10 d a t a _i n + 12 v c l k _o u t j 1 c o n 1 0b 1 2 3 4 5 6 7 8 9 1 0 d i m m _i n d i m m _ o u t d a t a _ o u t hard w a re det a il 20 boa rd s in seri es. notice if over 4p cs of su ch bo ard s were se rialized, you must add auxiliary po wer ca ble to so me boa rd s to enha nce the curre nt transf er . 2-5-4. auxiliar y p o w e r port figure 9 there are 2 a uxiliary powe r port s on this board. if y ou us e le ss t han 4pcs of s u c h boar d s in seri es, you could simply use a 10pin idc flat c able to conne ct those boa rd s. but if over 4 boards a r e conne cted tog ether , you m ust add ad ditional po wer sup ply to some of those boards, o r the curre nt may be lacki ng. ju st appl y +1 2v to some b oard s on the aux powe r port. ma ke s u re the polari ty i s c o rre c t. 2-5 - 5. dat a bu ffer ? 2004- 2008 s u re e lectronic s i nc. DE-DP004 -v er1. 0-p age 9 u 5 c 74h c 0 0 9 1 0 8 1 4 7 dim m _ i n c l k _ i n c l k _ o u t u 5 d 74hc0 0 1 2 1 3 1 1 1 4 7 + 5 v d i m m _ o u t u 5 a 74h c 0 0 1 2 3 1 4 7 u 5 b 74hc0 0 1 4 4 5 6 7 hard w a re det a il ? 2004-200 8 sure elect ronics inc. DE-DP004 -v er1. 0-p age 1 0 figure 10 74hc0 0 chip is u s ed to b uf f er cl ock a nd dimm si g nal in thi s board. a cmos chip is not able to drive over 10p cs cmos input if the cabl e is so long, he re 74hc0 0 is u s ed as not gate, and 2 g ates in serie s is a buf fer . 4 inch character height 7-segment led information board user ? s guide ? 2004- 2008 s u re e lectronic s i nc. chapter3.sampl e codes 3-1. led segm ent drive demo board? s schematic DE-DP004 -v er1. 0-p age 1 1 figure 1 1 r 4 4 7 2 d a t a s w 2 s w d i p - 4 1 2 3 4 8 7 6 5 pow e r i c spc l k c 5 1 0 4 1 2 c 1 104 1 2 u 2 7 8 m 05/ t o 1 4 3 v i n g n d vou t d i m m + 5 v + 1 2 v r 3 4 7 2 j 4 d j 005b 3 2 1 j 2 c o n 6 1 2 3 4 5 6 + c 2 100uf / 16v 1 2 u 1 p i c 1 0 f 200 4 1 6 5 3 2 g p 2 / t 0 c k i / f o s c 4 gp0/ i c spd a t g p 3 / m c l r / vpp v d d gp1/ i c spc l k vss + 5 v dim m c l k + 12v m c l r + 5 v c l k r 5 4 7 2 r 1 472 s w 1 + 5 v pow e r d 1 1 n 581 7 1 2 i c s p c l k pow e r i c s p d a t i c spd a t r 2 4 7 2 j 3 c o n 2 1 2 d a t a 4 + c 3 100u f / 10v 1 2 + 5 v 1 2 3 c 4 1 0 4 1 2 m c l r j 1 c o n 1 0 b 1 2 3 4 5 6 7 8 9 1 0 sample codes 3-2. how to co nnect load 10 pin idc flat cable j1 j4 j3 j2 4 inch led board + j1 - led segment dri ve demo boa rd power supply form j3 or j4 dc 12v,1a in put figure 12 output v olt age encoder position setting( 1)(2) 5 v 4 3 2 1 + 5 v 12v + 12v 4 3 2 1 0 v 0 v 4 3 2 1 on off noti ce : (1) dip switch only ha s th e 3 way s a s sho w n a bove to work; any other swit chi ng ways a r e prohi bited. (2) users shouldn?t ch ange the volt age while led seg m ent drive demo board is workin g. it is only allo we d to chan ge it before ap plying the cu rren t. 3-3. ho w to dis pla y dat a with pi c10f 200 and pi cc8. 05 en vi ronmen t source code i s sh own belo w , #incl ude sample codes ? 2004- 2008 s u re e lectronic s i nc. DE-DP004 -v er1. 0-p age 1 3 #define fuc_key gp3 #define dimm gp2 #define clk gp1 #define da t a gp0 unsi gne d char disp _dat a; unsi gne d char key_p r e s se d,last_ k ey_p ressed; unsi gne d char v alue; unsi gne d char time; //the tot al of c athode c on s t uns i gned c har d igit al _t ab[] = {0xf f,0xfc ,0x60,0xda,0xf2 ,0x66,0xb6,0xb e,0xe0,0xfe,0xf6, 0x80,0x40,0 x 20,0x10, 0x0 8,0x04,0x02, 0x01}; void cha nge (void); void led_d at a(void ) ; void led _display( void) ; void delay_2 ms(voi d) { unsi gne d char i, j, k; f or(i = 0 ; i < 5 ; i++) { for(j = 0; j < 2 00; j++) k - - ; } } void cha nge (void) { k ey _p r e s s ed = fu c _ k ey ; if((key_pressed==0 )&(la s t _key _ pre s s e d = =1)) { delay_2m s(); if(key_p re sse d==0) { disp _dat a++; if(disp _dat a==19 ) di sp_ dat a=0; } } last _ k ey_p re ss ed =key_pressed; } void led_d at a(void ) { unsi gne d char i; for(i = 0 ; i < 1 9 ; i + +) { if(i==disp_d at a){v alue = di git al_ t ab[i];} } sample codes ? 2004- 2008 s u re e lectronics i nc. DE-DP004 -v er1. 0-p age 1 4 } void led _display( void) { unsi gne d char i; unsi gne d char u; u=v alue; f or(i = 0 ; i < 8 ; i++ ) { da t a = u & 0 x 01; c lk = 0; c lk = 1; u = u > >1; } u=v alue; f or(i = 0 ; i < 8 ; i++ ) { da t a = u & 0 x 01; c lk = 0; c lk = 1; u = u > >1; } clk = 0; clk = 1; } void main(voi d) { oscca l=0; tris = 0b 1 111 10 00; o p ti o n = 0b 1 10111 1 1; while ( 1 ) { cha nge (); led_d at a (); dimm = 1; led_di spl ay(); dimm = 0; //active?low output enabl e delay_2m s(); } } 4 inch character height 7-segment led information board user ? s guide ? 2004- 2008 s u re e lectronic s i nc. chapter4.contact us sure electro nics co., lt d . floor 5, a zon e, qinhu ai t ech nology innov ation ce nter , no.10 5-2, daming road, nanji ng, chin a t el: +86 136 0140 8832 + 86- 25 - 6 6606 340 (engli s h servi c e, from gmt 1-10am, only for techni cal que stion s ) email: support @ sure-el ect ronics.net w eb s ite: www . sure-el e ctroni cs.net w w w .sur e- el e c t r oni c s . c o m www . sureele c troni cs.net DE-DP004 -v er1. 0-p age 15 |
Price & Availability of DE-DP004 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |